package com.tg.milvus;

import io.milvus.v2.client.ConnectConfig;
import io.milvus.v2.client.MilvusClientV2;


public class MilvusTest {


    public static void main(String[] args) {

        // use either token or username/password
        ConnectConfig connectConfig = ConnectConfig.builder()
                .uri("http://tg1:19530")
//                .token(String token)
                //.username(String userName)
                //.password(String password)
                .build();

        MilvusClientV2 client = new MilvusClientV2(connectConfig);

//        res = client.insert("demo_collection", data=data)
//
//        print(res)
        System.out.println(" = ");


    }
}
